package com.lanswon.qzsmk.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
 * 历史交易明细表
 * @author sun
 *
 */
public class TxnHisDtl implements Serializable {
    /** 主键ID,32位UUID */
    private String txnDtlId;

    /** 卡内号 */
    private String crdNo;

    /** 卡片序列号 */
    private String cardSeqNo;

    /** 卡唯一码 */
    private String crdUniqueNo;

    /** 市民卡号 */
    private String citizenCardNo;

    /** 子帐号 */
    private String subaccountNo;

    /** 发卡城市代码 */
    private String issCityCd;

    /** 消费城市代码 */
    private String txnCityCd;

    /** 卡行业代码 */
    private String crdIndustCd;

    /** 应用标识 */
    private String appFlag;

    /** 卡物理类型 */
    private String crdPhysTp;

    /** 中心流水号 */
    private String ctSeq;

    /** 中心时间 */
    private Date ctDt;

    /** 现金收付标志 */
    private String cashFlag;

    /** 交易类型 */
    private String txnTp;

    /** 交易时间  yyyyMMdd HHmmss*/
    private String txnDt;

    /** 交易金额 */
    private BigDecimal txnAmt;

    /** 交易后账户余额 */
    private BigDecimal txnBalAft;

    /** 交易前账户余额 */
    private BigDecimal txnBalBef;

    /** 交易前卡余额 */
    private BigDecimal crdBalBef;

    /** 交易后卡余额 */
    private BigDecimal crdBalAft;

    /** 结算日期 */
    private Date setDt;

    /** 费用类型 */
    private String feeTp;

    /** 受理类型 */
    private String acceptTp;

    /** 受理商户/网点编号 */
    private String acceptCusNo;

    /** 终端代码 */
    private String termNo;

    /** 终端流水号 */
    private String termSeq;

    /** SAM代码 */
    private String samNo;

    /** SAM流水号 */
    private String samSeq;

    /** 交易文件名称 */
    private String txnFileName;

    /** 所属数据包记录序号 */
    private Integer pkgRecOrd;

    /** 卡分散因子 */
    private String divFactor;

    /** 交易TAC */
    private String txnTac;

    /** 交易个性域 */
    private String txnCharcFld;

    /** 交易测试标志 */
    private String txnTstFlg;

    /** 错误代码 */
    private String errCode;

    /** 交易流水标志 00" 正常 41" 撤销 */
    private String txnAdjFlg;

    /** 关联中心流水号 */
    private String adjCtSeq;

    /** 关联中心时间 */
    private Date adjCtDt;

    /** 交易MAC1 */
    private String txnMac1;

    /** 交易MAC2 */
    private String txnMac2;

    /** 关联结算日期 */
    private Date adjSetDt;

    /** 上一次交易卡计数器 */
    private Integer lastTxnCnt;

    /** 上一次交易时间 */
    private Date lastTxnDt;

    /** 上一次交易金额 */
    private BigDecimal lastTxnAmt;

    /** 当前计数器值 */
    private Integer currCount;

    /** 凭证号 */
    private String warrantid;

    /** 外部凭证号 */
    private String outWarrantid;

    /** 操作员编号/终端操作员编号 */
    private String oprNo;

    /** 本地流水号 */
    private String localTxnSeq;

    /** 交易性质 */
    private String txnAttr;

    /** 采集点编号 */
    private String stationId;

    /** POS机载体编号 */
    private String posCarrId;

    /** 卡城市代码 */
    private String crdCityCd;

    /** 卡城市代码 */
    private String cardType;

    /** 交易年度 */
    private String txnYear;

    /** 交易月份 */
    private String txnMonth;

    /** 预留标志组 */
    private String rsvdFlags;

    /** 保留字段 */
    private String rsvdFld;

    /**  */
    private String reserve1;

    /**  */
    private String reserve2;

    /**  */
    private String reserve3;

    /**  */
    private String reserve4;

    /**  */
    private String reserve5;

    /**  */
    private String reserve6;

    /**  */
    private String reserve7;

    /**  */
    private String reserve8;

    /**  */
    private String reserve9;

    /**  */
    private String reserve10;

    /** 文件生成日期 */
    private Date fileGenDate;

    /**  */
    private String txnType;

    /** 终端交易类型 */
    private String txnDate;

    /** 外部实体编号 */
    private String outEntityno;

    /** 业务编号 */
    private String businessNo;

    /** 支付方式 */
    private String paymentType;

    /** 支付方式是否扩展 */
    private String paymentTypeExt;

    /** 实际充值金额 */
    private BigDecimal realTxnAmt;

    /** 轧帐标识 */
    private String rptFlag;

    /** 轧帐日期 */
    private Date rptDate;

    private static final long serialVersionUID = 1L;

    public String getTxnDtlId() {
        return txnDtlId;
    }

    public void setTxnDtlId(String txnDtlId) {
        this.txnDtlId = txnDtlId == null ? null : txnDtlId.trim();
    }

    public String getCrdNo() {
        return crdNo;
    }

    public void setCrdNo(String crdNo) {
        this.crdNo = crdNo == null ? null : crdNo.trim();
    }

    public String getCardSeqNo() {
        return cardSeqNo;
    }

    public void setCardSeqNo(String cardSeqNo) {
        this.cardSeqNo = cardSeqNo == null ? null : cardSeqNo.trim();
    }

    public String getCrdUniqueNo() {
        return crdUniqueNo;
    }

    public void setCrdUniqueNo(String crdUniqueNo) {
        this.crdUniqueNo = crdUniqueNo == null ? null : crdUniqueNo.trim();
    }

    public String getCitizenCardNo() {
        return citizenCardNo;
    }

    public void setCitizenCardNo(String citizenCardNo) {
        this.citizenCardNo = citizenCardNo == null ? null : citizenCardNo.trim();
    }

    public String getSubaccountNo() {
        return subaccountNo;
    }

    public void setSubaccountNo(String subaccountNo) {
        this.subaccountNo = subaccountNo == null ? null : subaccountNo.trim();
    }

    public String getIssCityCd() {
        return issCityCd;
    }

    public void setIssCityCd(String issCityCd) {
        this.issCityCd = issCityCd == null ? null : issCityCd.trim();
    }

    public String getTxnCityCd() {
        return txnCityCd;
    }

    public void setTxnCityCd(String txnCityCd) {
        this.txnCityCd = txnCityCd == null ? null : txnCityCd.trim();
    }

    public String getCrdIndustCd() {
        return crdIndustCd;
    }

    public void setCrdIndustCd(String crdIndustCd) {
        this.crdIndustCd = crdIndustCd == null ? null : crdIndustCd.trim();
    }

    public String getAppFlag() {
        return appFlag;
    }

    public void setAppFlag(String appFlag) {
        this.appFlag = appFlag == null ? null : appFlag.trim();
    }

    public String getCrdPhysTp() {
        return crdPhysTp;
    }

    public void setCrdPhysTp(String crdPhysTp) {
        this.crdPhysTp = crdPhysTp == null ? null : crdPhysTp.trim();
    }

    public String getCtSeq() {
        return ctSeq;
    }

    public void setCtSeq(String ctSeq) {
        this.ctSeq = ctSeq == null ? null : ctSeq.trim();
    }

    public Date getCtDt() {
        return ctDt;
    }

    public void setCtDt(Date ctDt) {
        this.ctDt = ctDt;
    }

    public String getCashFlag() {
        return cashFlag;
    }

    public void setCashFlag(String cashFlag) {
        this.cashFlag = cashFlag == null ? null : cashFlag.trim();
    }

    public String getTxnTp() {
        return txnTp;
    }

    public void setTxnTp(String txnTp) {
        this.txnTp = txnTp == null ? null : txnTp.trim();
    }

    public String getTxnDt() {
        return txnDt;
    }

    public void setTxnDt(String txnDt) {
        this.txnDt = txnDt == null ? null : txnDt.trim();
    }

    public BigDecimal getTxnAmt() {
        return txnAmt;
    }

    public void setTxnAmt(BigDecimal txnAmt) {
        this.txnAmt = txnAmt;
    }

    public BigDecimal getTxnBalAft() {
        return txnBalAft;
    }

    public void setTxnBalAft(BigDecimal txnBalAft) {
        this.txnBalAft = txnBalAft;
    }

    public BigDecimal getTxnBalBef() {
        return txnBalBef;
    }

    public void setTxnBalBef(BigDecimal txnBalBef) {
        this.txnBalBef = txnBalBef;
    }

    public BigDecimal getCrdBalBef() {
        return crdBalBef;
    }

    public void setCrdBalBef(BigDecimal crdBalBef) {
        this.crdBalBef = crdBalBef;
    }

    public BigDecimal getCrdBalAft() {
        return crdBalAft;
    }

    public void setCrdBalAft(BigDecimal crdBalAft) {
        this.crdBalAft = crdBalAft;
    }

    public Date getSetDt() {
        return setDt;
    }

    public void setSetDt(Date setDt) {
        this.setDt = setDt;
    }

    public String getFeeTp() {
        return feeTp;
    }

    public void setFeeTp(String feeTp) {
        this.feeTp = feeTp == null ? null : feeTp.trim();
    }

    public String getAcceptTp() {
        return acceptTp;
    }

    public void setAcceptTp(String acceptTp) {
        this.acceptTp = acceptTp == null ? null : acceptTp.trim();
    }

    public String getAcceptCusNo() {
        return acceptCusNo;
    }

    public void setAcceptCusNo(String acceptCusNo) {
        this.acceptCusNo = acceptCusNo == null ? null : acceptCusNo.trim();
    }

    public String getTermNo() {
        return termNo;
    }

    public void setTermNo(String termNo) {
        this.termNo = termNo == null ? null : termNo.trim();
    }

    public String getTermSeq() {
        return termSeq;
    }

    public void setTermSeq(String termSeq) {
        this.termSeq = termSeq == null ? null : termSeq.trim();
    }

    public String getSamNo() {
        return samNo;
    }

    public void setSamNo(String samNo) {
        this.samNo = samNo == null ? null : samNo.trim();
    }

    public String getSamSeq() {
        return samSeq;
    }

    public void setSamSeq(String samSeq) {
        this.samSeq = samSeq == null ? null : samSeq.trim();
    }

    public String getTxnFileName() {
        return txnFileName;
    }

    public void setTxnFileName(String txnFileName) {
        this.txnFileName = txnFileName == null ? null : txnFileName.trim();
    }

    public Integer getPkgRecOrd() {
        return pkgRecOrd;
    }

    public void setPkgRecOrd(Integer pkgRecOrd) {
        this.pkgRecOrd = pkgRecOrd;
    }

    public String getDivFactor() {
        return divFactor;
    }

    public void setDivFactor(String divFactor) {
        this.divFactor = divFactor == null ? null : divFactor.trim();
    }

    public String getTxnTac() {
        return txnTac;
    }

    public void setTxnTac(String txnTac) {
        this.txnTac = txnTac == null ? null : txnTac.trim();
    }

    public String getTxnCharcFld() {
        return txnCharcFld;
    }

    public void setTxnCharcFld(String txnCharcFld) {
        this.txnCharcFld = txnCharcFld == null ? null : txnCharcFld.trim();
    }

    public String getTxnTstFlg() {
        return txnTstFlg;
    }

    public void setTxnTstFlg(String txnTstFlg) {
        this.txnTstFlg = txnTstFlg == null ? null : txnTstFlg.trim();
    }

    public String getErrCode() {
        return errCode;
    }

    public void setErrCode(String errCode) {
        this.errCode = errCode == null ? null : errCode.trim();
    }

    public String getTxnAdjFlg() {
        return txnAdjFlg;
    }

    public void setTxnAdjFlg(String txnAdjFlg) {
        this.txnAdjFlg = txnAdjFlg == null ? null : txnAdjFlg.trim();
    }

    public String getAdjCtSeq() {
        return adjCtSeq;
    }

    public void setAdjCtSeq(String adjCtSeq) {
        this.adjCtSeq = adjCtSeq == null ? null : adjCtSeq.trim();
    }

    public Date getAdjCtDt() {
        return adjCtDt;
    }

    public void setAdjCtDt(Date adjCtDt) {
        this.adjCtDt = adjCtDt;
    }

    public String getTxnMac1() {
        return txnMac1;
    }

    public void setTxnMac1(String txnMac1) {
        this.txnMac1 = txnMac1 == null ? null : txnMac1.trim();
    }

    public String getTxnMac2() {
        return txnMac2;
    }

    public void setTxnMac2(String txnMac2) {
        this.txnMac2 = txnMac2 == null ? null : txnMac2.trim();
    }

    public Date getAdjSetDt() {
        return adjSetDt;
    }

    public void setAdjSetDt(Date adjSetDt) {
        this.adjSetDt = adjSetDt;
    }

    public Integer getLastTxnCnt() {
        return lastTxnCnt;
    }

    public void setLastTxnCnt(Integer lastTxnCnt) {
        this.lastTxnCnt = lastTxnCnt;
    }

    public Date getLastTxnDt() {
        return lastTxnDt;
    }

    public void setLastTxnDt(Date lastTxnDt) {
        this.lastTxnDt = lastTxnDt;
    }

    public BigDecimal getLastTxnAmt() {
        return lastTxnAmt;
    }

    public void setLastTxnAmt(BigDecimal lastTxnAmt) {
        this.lastTxnAmt = lastTxnAmt;
    }

    public Integer getCurrCount() {
        return currCount;
    }

    public void setCurrCount(Integer currCount) {
        this.currCount = currCount;
    }

    public String getWarrantid() {
        return warrantid;
    }

    public void setWarrantid(String warrantid) {
        this.warrantid = warrantid == null ? null : warrantid.trim();
    }

    public String getOutWarrantid() {
        return outWarrantid;
    }

    public void setOutWarrantid(String outWarrantid) {
        this.outWarrantid = outWarrantid == null ? null : outWarrantid.trim();
    }

    public String getOprNo() {
        return oprNo;
    }

    public void setOprNo(String oprNo) {
        this.oprNo = oprNo == null ? null : oprNo.trim();
    }

    public String getLocalTxnSeq() {
        return localTxnSeq;
    }

    public void setLocalTxnSeq(String localTxnSeq) {
        this.localTxnSeq = localTxnSeq == null ? null : localTxnSeq.trim();
    }

    public String getTxnAttr() {
        return txnAttr;
    }

    public void setTxnAttr(String txnAttr) {
        this.txnAttr = txnAttr == null ? null : txnAttr.trim();
    }

    public String getStationId() {
        return stationId;
    }

    public void setStationId(String stationId) {
        this.stationId = stationId == null ? null : stationId.trim();
    }

    public String getPosCarrId() {
        return posCarrId;
    }

    public void setPosCarrId(String posCarrId) {
        this.posCarrId = posCarrId == null ? null : posCarrId.trim();
    }

    public String getCrdCityCd() {
        return crdCityCd;
    }

    public void setCrdCityCd(String crdCityCd) {
        this.crdCityCd = crdCityCd == null ? null : crdCityCd.trim();
    }

    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType == null ? null : cardType.trim();
    }

    public String getTxnYear() {
        return txnYear;
    }

    public void setTxnYear(String txnYear) {
        this.txnYear = txnYear == null ? null : txnYear.trim();
    }

    public String getTxnMonth() {
        return txnMonth;
    }

    public void setTxnMonth(String txnMonth) {
        this.txnMonth = txnMonth == null ? null : txnMonth.trim();
    }

    public String getRsvdFlags() {
        return rsvdFlags;
    }

    public void setRsvdFlags(String rsvdFlags) {
        this.rsvdFlags = rsvdFlags == null ? null : rsvdFlags.trim();
    }

    public String getRsvdFld() {
        return rsvdFld;
    }

    public void setRsvdFld(String rsvdFld) {
        this.rsvdFld = rsvdFld == null ? null : rsvdFld.trim();
    }

    public String getReserve1() {
        return reserve1;
    }

    public void setReserve1(String reserve1) {
        this.reserve1 = reserve1 == null ? null : reserve1.trim();
    }

    public String getReserve2() {
        return reserve2;
    }

    public void setReserve2(String reserve2) {
        this.reserve2 = reserve2 == null ? null : reserve2.trim();
    }

    public String getReserve3() {
        return reserve3;
    }

    public void setReserve3(String reserve3) {
        this.reserve3 = reserve3 == null ? null : reserve3.trim();
    }

    public String getReserve4() {
        return reserve4;
    }

    public void setReserve4(String reserve4) {
        this.reserve4 = reserve4 == null ? null : reserve4.trim();
    }

    public String getReserve5() {
        return reserve5;
    }

    public void setReserve5(String reserve5) {
        this.reserve5 = reserve5 == null ? null : reserve5.trim();
    }

    public String getReserve6() {
        return reserve6;
    }

    public void setReserve6(String reserve6) {
        this.reserve6 = reserve6 == null ? null : reserve6.trim();
    }

    public String getReserve7() {
        return reserve7;
    }

    public void setReserve7(String reserve7) {
        this.reserve7 = reserve7 == null ? null : reserve7.trim();
    }

    public String getReserve8() {
        return reserve8;
    }

    public void setReserve8(String reserve8) {
        this.reserve8 = reserve8 == null ? null : reserve8.trim();
    }

    public String getReserve9() {
        return reserve9;
    }

    public void setReserve9(String reserve9) {
        this.reserve9 = reserve9 == null ? null : reserve9.trim();
    }

    public String getReserve10() {
        return reserve10;
    }

    public void setReserve10(String reserve10) {
        this.reserve10 = reserve10 == null ? null : reserve10.trim();
    }

    public Date getFileGenDate() {
        return fileGenDate;
    }

    public void setFileGenDate(Date fileGenDate) {
        this.fileGenDate = fileGenDate;
    }

    public String getTxnType() {
        return txnType;
    }

    public void setTxnType(String txnType) {
        this.txnType = txnType == null ? null : txnType.trim();
    }

    public String getTxnDate() {
        return txnDate;
    }

    public void setTxnDate(String txnDate) {
        this.txnDate = txnDate == null ? null : txnDate.trim();
    }

    public String getOutEntityno() {
        return outEntityno;
    }

    public void setOutEntityno(String outEntityno) {
        this.outEntityno = outEntityno == null ? null : outEntityno.trim();
    }

    public String getBusinessNo() {
        return businessNo;
    }

    public void setBusinessNo(String businessNo) {
        this.businessNo = businessNo == null ? null : businessNo.trim();
    }

    public String getPaymentType() {
        return paymentType;
    }

    public void setPaymentType(String paymentType) {
        this.paymentType = paymentType == null ? null : paymentType.trim();
    }

    public String getPaymentTypeExt() {
        return paymentTypeExt;
    }

    public void setPaymentTypeExt(String paymentTypeExt) {
        this.paymentTypeExt = paymentTypeExt == null ? null : paymentTypeExt.trim();
    }

    public BigDecimal getRealTxnAmt() {
        return realTxnAmt;
    }

    public void setRealTxnAmt(BigDecimal realTxnAmt) {
        this.realTxnAmt = realTxnAmt;
    }

    public String getRptFlag() {
        return rptFlag;
    }

    public void setRptFlag(String rptFlag) {
        this.rptFlag = rptFlag == null ? null : rptFlag.trim();
    }

    public Date getRptDate() {
        return rptDate;
    }

    public void setRptDate(Date rptDate) {
        this.rptDate = rptDate;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", txnDtlId=").append(txnDtlId);
        sb.append(", crdNo=").append(crdNo);
        sb.append(", cardSeqNo=").append(cardSeqNo);
        sb.append(", crdUniqueNo=").append(crdUniqueNo);
        sb.append(", citizenCardNo=").append(citizenCardNo);
        sb.append(", subaccountNo=").append(subaccountNo);
        sb.append(", issCityCd=").append(issCityCd);
        sb.append(", txnCityCd=").append(txnCityCd);
        sb.append(", crdIndustCd=").append(crdIndustCd);
        sb.append(", appFlag=").append(appFlag);
        sb.append(", crdPhysTp=").append(crdPhysTp);
        sb.append(", ctSeq=").append(ctSeq);
        sb.append(", ctDt=").append(ctDt);
        sb.append(", cashFlag=").append(cashFlag);
        sb.append(", txnTp=").append(txnTp);
        sb.append(", txnDt=").append(txnDt);
        sb.append(", txnAmt=").append(txnAmt);
        sb.append(", txnBalAft=").append(txnBalAft);
        sb.append(", txnBalBef=").append(txnBalBef);
        sb.append(", crdBalBef=").append(crdBalBef);
        sb.append(", crdBalAft=").append(crdBalAft);
        sb.append(", setDt=").append(setDt);
        sb.append(", feeTp=").append(feeTp);
        sb.append(", acceptTp=").append(acceptTp);
        sb.append(", acceptCusNo=").append(acceptCusNo);
        sb.append(", termNo=").append(termNo);
        sb.append(", termSeq=").append(termSeq);
        sb.append(", samNo=").append(samNo);
        sb.append(", samSeq=").append(samSeq);
        sb.append(", txnFileName=").append(txnFileName);
        sb.append(", pkgRecOrd=").append(pkgRecOrd);
        sb.append(", divFactor=").append(divFactor);
        sb.append(", txnTac=").append(txnTac);
        sb.append(", txnCharcFld=").append(txnCharcFld);
        sb.append(", txnTstFlg=").append(txnTstFlg);
        sb.append(", errCode=").append(errCode);
        sb.append(", txnAdjFlg=").append(txnAdjFlg);
        sb.append(", adjCtSeq=").append(adjCtSeq);
        sb.append(", adjCtDt=").append(adjCtDt);
        sb.append(", txnMac1=").append(txnMac1);
        sb.append(", txnMac2=").append(txnMac2);
        sb.append(", adjSetDt=").append(adjSetDt);
        sb.append(", lastTxnCnt=").append(lastTxnCnt);
        sb.append(", lastTxnDt=").append(lastTxnDt);
        sb.append(", lastTxnAmt=").append(lastTxnAmt);
        sb.append(", currCount=").append(currCount);
        sb.append(", warrantid=").append(warrantid);
        sb.append(", outWarrantid=").append(outWarrantid);
        sb.append(", oprNo=").append(oprNo);
        sb.append(", localTxnSeq=").append(localTxnSeq);
        sb.append(", txnAttr=").append(txnAttr);
        sb.append(", stationId=").append(stationId);
        sb.append(", posCarrId=").append(posCarrId);
        sb.append(", crdCityCd=").append(crdCityCd);
        sb.append(", cardType=").append(cardType);
        sb.append(", txnYear=").append(txnYear);
        sb.append(", txnMonth=").append(txnMonth);
        sb.append(", rsvdFlags=").append(rsvdFlags);
        sb.append(", rsvdFld=").append(rsvdFld);
        sb.append(", reserve1=").append(reserve1);
        sb.append(", reserve2=").append(reserve2);
        sb.append(", reserve3=").append(reserve3);
        sb.append(", reserve4=").append(reserve4);
        sb.append(", reserve5=").append(reserve5);
        sb.append(", reserve6=").append(reserve6);
        sb.append(", reserve7=").append(reserve7);
        sb.append(", reserve8=").append(reserve8);
        sb.append(", reserve9=").append(reserve9);
        sb.append(", reserve10=").append(reserve10);
        sb.append(", fileGenDate=").append(fileGenDate);
        sb.append(", txnType=").append(txnType);
        sb.append(", txnDate=").append(txnDate);
        sb.append(", outEntityno=").append(outEntityno);
        sb.append(", businessNo=").append(businessNo);
        sb.append(", paymentType=").append(paymentType);
        sb.append(", paymentTypeExt=").append(paymentTypeExt);
        sb.append(", realTxnAmt=").append(realTxnAmt);
        sb.append(", rptFlag=").append(rptFlag);
        sb.append(", rptDate=").append(rptDate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}